<?php
echo"<pre>";
print_r($_POST);
$personInfo=$_POST;
//print_r($_FILES);
if($_FILES['upload']['error']===0){//上传成功
    $filename='./up/'.$_FILES['upload']['name'];
    if(move_uploaded_file($_FILES['upload']['tmp_name'],$filename)){
        echo"上传并移动成功";
    }else{
        echo"失败!";
    }
}
// echo "用户名:" .$_GET['user'];
// echo "<br>用户名:" .$_GET['time'];
// echo "用户名:" .$_POST['user']; 
// echo "<br>出生时刻:" .$_POST['time'];